/*
 * @Author: zhoujinlong 765637726@qq.com
 * @Date: 2024-03-28 11:04:12
 * @LastEditors: zhoujinlong 765637726@qq.com
 * @LastEditTime: 2024-05-06 08:56:15
 * @FilePath: \election-yd\src\renderer\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import Router from './router'
import Store from './store'
import App from './App.vue'
import { permission } from './directives/permission'
import './mockjs'
import pool from '../../main/mysql/pool'

import Layui from '@layui/layui-vue'
import '@layui/layui-vue/lib/index.css'

window.pool = pool
console.log(window);


const app = createApp(App)

app.use(Store)
app.use(Router)
app.use(Layui)

app.directive('permission', permission)
app.mount('#app')
